import request from '@/utils/request'

const api_name = '/scan'

export default {
  count() {
    return request({
      url: `${api_name}/count`,
      method: 'get'
    })
  },
  info(data) {
    return request({
      url: `${api_name}/info`,
      method: 'get',
      params: data
    })
  }
}
